﻿<%@ Page Language="C#" MasterPageFile="~/App_MasterPages/StationUserMaster.master" AutoEventWireup="true" CodeBehind="ViewCompletedCirculationList.aspx.cs" Inherits="PUCIT.eFCS.ViewCompletedCirculationList" %>




<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <div id="contents">
        <script src="Scripts/JScript.js" type="text/javascript"></script>
        <table cellpadding="10">
            <tr>
                <td>
                    <h1>
                        Completed Circulations</h1>
                </td>
                <td>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                </td>
                <td>
                    <b>Form Type Filter:</b>
                    <asp:DropDownList ID="DropDownList1" runat="server" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged"
                        AutoPostBack="true">
                    </asp:DropDownList>
                </td>
            </tr>
        </table>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="ObjectDataSource2"
            OnRowDataBound="GridView1_RowDataBound" AllowPaging="True" CellPadding="10" PageSize="15">
            <PagerSettings Position="TopAndBottom" />
            <RowStyle HorizontalAlign="Center" VerticalAlign="Middle" />
            <Columns>
                <asp:BoundField DataField="CirculationId" HeaderText="Circulation Id" SortExpression="CirculationId" />
                <asp:BoundField DataField="FormType" HeaderText="Form Type" SortExpression="FormType" />
                <asp:BoundField DataField="Initiater" HeaderText="Initiater" SortExpression="Initiater" />
                <asp:BoundField DataField="SubmissionDate" HeaderText="Submission Date" SortExpression="SubmissionDate" />
                <asp:BoundField DataField="SubmissionTime" HeaderText="Submission Time" SortExpression="SubmissionTime" />
                <asp:BoundField DataField="Progress" HeaderText="Progress" SortExpression="Progress" />
                <asp:TemplateField HeaderText="Action">
                    <ItemTemplate>
                        &nbsp;<asp:HyperLink ID="link" runat="server">View Details</asp:HyperLink>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </asp:GridView>
        <asp:ObjectDataSource ID="ObjectDataSource2" runat="server" SelectMethod="GetCompletedCirculationList"
            TypeName="PUCIT.eFCS.Business.BusinessClass" OldValuesParameterFormatString="original_{0}">
            <SelectParameters>
                <asp:SessionParameter Name="userId" SessionField="userId" Type="Int32" />
                <asp:QueryStringParameter DefaultValue="0" Name="documentId" QueryStringField="documentId"
                    Type="Int32" />
                <asp:QueryStringParameter DefaultValue="1" Name="disableDocumentFilter" QueryStringField="disableDocumentFilter"
                    Type="Int32" />
            </SelectParameters>
        </asp:ObjectDataSource>
    </div>
</asp:Content>
